﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business.Compta
{
    public class ComptaStatement
    {
        private int id;
        public int Id
        {
            get
            {
                return id;
            }
            set
            {
                id = value;
            }
        }
        
        private int idAccount;
        public int IdAccount
        {
            get
            {
                return idAccount;
            }
            set
            {
                idAccount = value;
            }
        }

        private DateTime date;
        public DateTime Date
        {
            get
            {
                return date;
            }
            set
            {
                date = value;
            }
        }

        private DateTime importDate;
        public DateTime ImportDate
        {
            get
            {
                return importDate;
            }
            set
            {
                importDate = value;
            }
        }

        private String title;
        public String Title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        public long fileSize;
        public long FileSize
        {
            get
            {
                    return fileSize;
            }
            set
            {
            	fileSize = value;
            }
        }

        public ComptaStatement(int _id,
            int _idAccount,
            String _title,
            DateTime _date,
            DateTime _importDate,
            long _fileSize)
        {
            this.id = _id;
            this.idAccount = _idAccount;
            this.date = _date;
            this.importDate = _importDate;
            this.title = _title;
            this.fileSize = _fileSize;
        }
    }
}
